<div class="bjui-pageHeader">
        <form id="pagerForm" data-toggle="ajaxsearch" action="{url}" method="post">
                <input type="hidden" name="pageSize" value="{$numPerPage}" >
                <input type="hidden" name="pageCurrent" value="{$currentPage}">
                <input type="hidden" name="orderField" value="{$orderField}">
                <input type="hidden" name="orderDirection" value="{$orderDirection}">
                <div class="bjui-searchBar">
                        <label>用户名：</label>
                        <input type="text" name="username" value="{$_REQUEST['username']|default=''}"  class="form-control" size="15" />
                        <label>内容：</label>
                        <input type="text" name="content" value="{$_REQUEST['content']|default=''}"  class="form-control" size="15" />
                        <label>IP：</label>
                        <input type="text" name="ip" value="{$_REQUEST['ip']|default=''}"  class="form-control" size="15" />
                        <button type="submit"  class="btn-default" data-icon="search">查询</button>
                        <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true);" data-icon="undo">清空查询</a>
                        <ul style="margin-top:10px;">
                                <li>
                                        <a href="{:U('System/systemlog_del')}" class="btn btn-red" data-toggle="doajax"  data-confirm-msg="确定要删除信息吗？">删除三天前记录</a>
                                </li>
                        </ul>
                </div>
</div>
</form>


<div class="bjui-pageContent">
        <table data-toggle="tablefixed" data-width="100%" data-layout-h="0" data-nowrap="true">
                <thead>
                        <tr>
                                <th data-order-field="id" width='40'align="center">ID</th>
                                <th width="80">操作人</th>
                                <th width="150">IP地址</th>
                                <th width="150">IP所在地</th>
                                <th>日志</th>
                                <th width="150">记录时间</th>
                        </tr>
                </thead>
                <tbody>
                        {neq name="list" value=''}
                        {volist name="list" id="vo"}
                        <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.username}</td>
                                <td>{$vo.ip}</td>
                                <td>{$vo.ip_city}</td>
                                <td>{$vo.content|msubstr=30}</td>
                                <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
                        </tr>
                        {/volist}
                        {else /}
                        <tr><td colspan="9" align="center">暂无记录</td></tr>
                        {/neq}
                </tbody>
        </table>   

</div>
<div class="bjui-pageFooter">
        <div class="pages">
                <span> 每页&nbsp;</span>
                <div class="selectPagesize">
                        <select data-toggle="selectpicker" data-toggle-change="changepagesize" class="show-tick" >
                                <option {eq name="numPerPage" value="20"} selected="selected" {/eq} value="20">20</option>
                                <option {eq name='numPerPage' value='40'} selected="selected" {/eq} value="40">40</option>
                                <option {eq name='numPerPage' value='120'} selected="selected" {/eq} value="120">120</option>
                                <option {eq name='numPerPage' value='150'} selected="selected" {/eq} value="150">150</option>
                        </select>
                </div>
                <span>&nbsp;条,共 {$totalCount} 条 </span>


        </div>
        <div class="pagination-box" data-toggle="pagination" data-total="{$totalCount}" data-page-size="{$numPerPage}" data-page-current="{$currentPage}">
        </div>
</div>


